package com.powernode.spring6.service;

import com.powernode.spring6.dao.UserDao;

/**
 * @Author JiangZhaoFeng
 * @Date 2025/8/4 15:40
 * @Description:
 */
public class UserService {

    private UserDao userDao; // 属性名

    // 使用set方法注入
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }


    public void save(){
        userDao.insert();
    }
}
